package org.example.httpserver.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface WechatMapper {
    @Select("select count(user_name) from user where user_name = #{username}")
    int login(String username);

    @Select("select user_image  from user where user_name = #{username}")
    String getImage(String username);
}
